<ion-view view-title="登录" name="login-view">
  <ion-content class="padding">
      <div class="list list-inset">
          <label class="item item-input">
              <input type="text" placeholder="请输入用户名" ng-model="data.username">
          </label>
          <label class="item item-input">
              <input type="password" placeholder="请输入密码" ng-model="data.password">
          </label>
      </div>
      <button class="button button-block button-calm" ng-click="login(data)">登录</button>
  </ion-content>
</ion-view>
